//
//  NSObject+BSNetworking.h
//  sister
//
//  Created by 周冰烽 on 2017/2/14.
//  Copyright © 2017年 周冰烽. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>
@interface NSObject (BSNetworking)

+(id)GET:(NSString *)path parameters:(NSDictionary *)parameters progress:(void(^)(NSProgress * downloadProgress))downloadProgress completionHandler:(void(^)(id responseObj,NSError *error))completionHandler;

+(id)POST:(NSString *)path parameters:(NSDictionary *)parameters progress:(void(^)(NSProgress * downloadProgress))downloadProgress completionHandler:(void(^)(id responseObj,NSError *error))completionHandler;


@end
